﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace DemoFSLog
{
    public partial class MainForm : Form
    {
        public MainForm()
        {
            InitializeComponent();
        }

        private void btnDebug_Click(object sender, EventArgs e)
        {
            FSLog.Log4Net.Singleton.LogObj.Debug("发生错误了哦！！！", new Exception("异常错误信息..."));
        }

        private void btnInfo_Click(object sender, EventArgs e)
        {
            FSLog.Log4Net.Singleton.LogObj.Info("提示信息");
        }

        private void btnWarn_Click(object sender, EventArgs e)
        {
            FSLog.Log4Net.Singleton.LogObj.Warn("警告信息");
        }
    }
}
